package 面向对象作业1;

import 面向对象作业.面向对象2.Person;

public class PointTest {
    public static void main(String[] args) {
        Point point = new Point(4,5);
        double v = point.juLi(0, 0, 3, 4);
        System.out.println("距离"+v);
        double xYuxuan = point.XYuxuan(0, 0, 3, 4);
        double xZhengXuan = point.XZhengXuan(0, 0, 3, 4);
        System.out.println("正弦"+xZhengXuan);
        System.out.println("余弦"+xYuxuan);

    }
}
